<!--送女友-->
<?php
//连接数据库
function connector(){
    $ip = 'localhost';
    $name = 'root';
    $pwd = '123456';
    try{
        $conn = new PDO('mysql:host=$ip;',$name,$pwd);
        echo '连接成功';
    }catch (PDOException $e){
        echo '连接失败'.$e->getMessage();
    }
}


?>
?>
<input type="text" name="serch" value="">
<button>搜女友</button>
<button>派发女友</button>
<button>甩掉女友</button>
<button>连接数据库</button>
<button>关闭数据库</button>
<a href="http://qiniu.locoy.com/LocoySpider_V9.9_Build20190507.zip">下载</a>